<?php if(!IS_ADMIN) report_403(); ?>
<!DOCTYPE html>
<html lang="zh_cn">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="Cache-Control" content="no-transform" />
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no,minimal-ui">
	<title>外观: 模板显示设置</title>
	<!-- 载入 CSS -->
	<import data="{ADMIN_URL}template/css/bootstrap.min.css">
	<import data="{ADMIN_URL}template/css/style.css">
	<style>
	.container{padding-bottom: 10px !important;}
	</style>
</head>
<body data-menu="features">
	<div class="container">
		<form id="setting-form" action="{SITE_URL}mod.php?mod::config" method="post">
			<div class="settings-option">
				<h4>模板显示设置</h4>
				{!$key = 'site.template.simplet.fixedWidth'}
				<div>
					<label for="fixed-width">固定网页宽度</label>
					<span>
						<label class="radio-inline">
							<input type="radio" name="{$key}" value="true" id="fixed-width"{config($key) ? ' checked' : ''}> 是
						</label>
						<label class="radio-inline">
							<input type="radio" name="{$key}" value="false"{config($key) == false ? ' checked' : ''}> 否
						</label>
					</span>
				</div>
				{!$key = 'site.template.simplet.fixedNavbar'}
				<div>
					<label for="fixed-width">固定导航栏</label>
					<span>
						<label class="radio-inline">
							<input type="radio" name="{$key}" value="true" id="fixed-width"{config($key) ? ' checked' : ''}> 是
						</label>
						<label class="radio-inline">
							<input type="radio" name="{$key}" value="false"{config($key) == false ? ' checked' : ''}> 否
						</label>
					</span>
				</div>
				<div>
					<button type="submit" class="btn btn-default">提交</button>
				</div>
			</div>
		</form>
	</div>
	<!-- 载入 JS -->
	<import data="$adminURL/template/js/jquery-1.11.3.min.js"/>
	<import data="$adminURL/template/js/jquery.ajaxsubmit.js"/>
	<import data="js/javascript.js">
</body>
</html>